for fld in $(ls ); do
echo $fld;
for file in $(ls $fld); do

echo $file;
#ed ./${fld}/header.php <fix.ed
ed ./${fld}/${file} <fix.ed
done;

done;
